home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / src / binutils.252 / ld / scriptte / a29k.sc next >
Encoding:
Text File  |  1994-05-27  |  981 b   |  40 lines

  1. cat <<EOF
  2. OUTPUT_FORMAT("${OUTPUT_FORMAT}")
  3. /* This shouldn't be here for generic a29k targets; what's it for??
  4.    INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */ 
  5. ${LIB_SEARCH_DIRS}
  6.  
  7. MEMORY {
  8.     text       : ORIGIN = 0x1000000, LENGTH = 0x1000000
  9.     talias     : ORIGIN = 0x2000000, LENGTH = 0x1000000
  10.     data    : ORIGIN = 0x3000000, LENGTH = 0x1000000
  11.     mstack     : ORIGIN = 0x4000000, LENGTH = 0x1000000
  12.     rstack     : ORIGIN = 0x5000000, LENGTH = 0x1000000
  13. }
  14. SECTIONS
  15. {
  16.   .text : {
  17.     *(.text)
  18.     ${RELOCATING+ __etext  =  .};
  19.     *(.lit)
  20.     *(.shdata)
  21.   } ${RELOCATING+ > text}
  22.   .shbss SIZEOF(.text) + ADDR(.text) :    {
  23.     *(.shbss)
  24.   } 
  25.   .talias :     { } ${RELOCATING+ > talias}
  26.   .data  : {
  27.     *(.data)
  28.     ${RELOCATING+ __edata  =  .};
  29.   } ${RELOCATING+ > data}
  30.   .bss   SIZEOF(.data) + ADDR(.data) :
  31.   {                     
  32.    *(.bss)
  33.    *(COMMON)
  34.      ${RELOCATING+ __end = ALIGN(0x8)};
  35.   }
  36.   .mstack  : { } ${RELOCATING+ > mstack}
  37.   .rstack  : { } ${RELOCATING+ > rstack}
  38. }
  39. EOF
  40.